<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html>
<head>
    <title>img</title>

    <script type='text/javascript'>var hint = new Array('', '.', '..', '...'); var timer = 0; function loading() { var text = hint[timer%4];document.getElementById('hint').innerHTML = 'loading'+hint[timer%4];timer++;setTimeout( 'loading()' , 500);}</script>

</head>
<body>
    <h1 id='hint'>
        loading...</h1>

    <script type='text/javascript'>loading();</script>

</body>
</html>